import os

# osname = os.name
# print("os name: {0}".format(osname))

# environ = os.environ
# print("environ:",environ)
# path = environ.get("path")
# print("environ.path:", path)

cur_abs_path = os.path.abspath(".")
print("cur_abs_path:", cur_abs_path)
# print(os.stat(cur_abs_path))
# temp = os.path.join(cur_abs_path,"temp")

# print("mkdir:", temp)
# try:
# 	os.mkdir(temp)
# except Exception as e:
# 	print("ex:", e)
# os.rmdir(temp)

# filename = "1.txt"
# new_filename = "2.txt"
# os.rename(filename,new_filename)
# os.remove(new_filename)

folders = [x for x in os.listdir(".") if os.path.isdir(x)]
print("folders:",folders)

files = [f for f in os.listdir(".") if os.path.isfile(f)]
print("files:", files)
